﻿using nblTool.utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WebFirst.Entities;

namespace Jn698._45GWTool.Services
{
    public class BatchParaConfigService
    {
        public List<BatchParaConfig> Select()
        {
            return SqlSugarHelper.Db.Queryable<BatchParaConfig>().ToList();
        }

        public BatchParaConfig Select(string OAD,string APDU)
        {
            return SqlSugarHelper.Db.Queryable<BatchParaConfig>().Where(b => b.StrOAD.Equals(OAD)).Where(b => b.ClientAPDU.Equals(APDU)).First();
        }

    }
}
